package com.guofen.dao;


import com.guofen.pojo.FoodOrder;
import com.guofen.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    List<Order> selectAll();

    Order selectByPrimaryKey(Integer id);

    Order selectLatest();

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Order order);

    int updateByPrimaryKeySelective(Order order);

    List<Order> selectByStatus(@Param("status") String[] status);
}
